﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;

namespace GamePrep
{
    public class GameNode
    {
        public int X { get; private set; }
        public int Y { get; private set; }
        public char nodeSymbol { get; private set; }

        public GameNode(int x, int y, char nodeSymbol)
        {
            X = x;
            Y = y;
            this.nodeSymbol = nodeSymbol;
        }

        public void MoveUp()
        {
            Y--;
        }
        public void MoveDown()
        {
            Y++;
        }
        public void MoveLeft()
        {
            X--;
        }
        public void MoveRight()
        {
            X++;
        }

    }
}
